class CreateAddresses < ActiveRecord::Migration
  def self.up
    create_table :addresses do |t|
t.integer :person_id
t.string :line1
t.string :line2
t.string :city
t.string :state
t.string :zip      
t.timestamps
  end
add_index :addresses, :person_id
end
  def self.down
    drop_table :addresses
  end
end
